<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>JSpider Library: com.spider.jspiderlibrary2.Spider Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSpider Library
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacecom.html">com</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1spider.html">spider</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1spider_1_1jspiderlibrary2.html">jspiderlibrary2</a>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html">Spider</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">com.spider.jspiderlibrary2.Spider Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::spider::jspiderlibrary2::Spider" -->
<p><a href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser.html">Parser</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a1522b55496fac7640ea54b6623d1072f">Spider</a> (<a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a> <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a234dbec15186b1bc7750700697ef233b">report</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Collection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aa2331130fc2e5be2a54b120da24bc348">getWorkloadError</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Collection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a77c4d59ea95fc8c7661b87bbf5da4f86">getWorkloadWaiting</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Collection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a6dca4a5d46dcdf9b97bc9cb799ba2c9c">getWorkloadProcessed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ae38b2465861c53a4dac6920a32daa2a2">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a9053f35d953c1311c1c98710561b49e4">cancel</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a6c7061bb6b58bdbe6be1a162cf470c85">addURL</a> (URL url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aff157f7c46f1ba056dac08797299e0f5">processURL</a> (URL url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">HashMap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#adbf2d01cc0ea713a8c4a8ea9c1cbaf56">getHashMapPages</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a472cd53008e1a952f2d8dcfe06f6e744">clearHashMapPages</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#af82be12bad4bc1e88f494645106ac7e0">begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a953b39d3048cc57e3b5a6050a52931fa">log</a> (String entry)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ArrayList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aa28c7efd1d89fd2b553833f289946477">workloadError</a> = new ArrayList(3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ArrayList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a7ab086f00e291c450e31bac92b3b1f3a">workloadWaiting</a> = new ArrayList(3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ArrayList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ad9e3dbf06a7d4a976fadc85df5fcf81e">workloadProcessed</a> = new ArrayList(3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a234dbec15186b1bc7750700697ef233b">report</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a2dbab52498bf5a06ce0344116aed3b3b">cancel</a> = false</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><dl class="author"><dt><b>Author:</b></dt><dd>altamirano,peker,liberal</dd></dl>
<p>Clase spider empleada para crawlear todo el sitio web, a travez de una url base sin salir de corriente dominio, y con la capacidad de retornar, el texto html leido de cada url del sitio que se encuentra dentro de la base </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00020">20</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1522b55496fac7640ea54b6623d1072f"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::Spider" ref="a1522b55496fac7640ea54b6623d1072f" args="(ISpiderReportable report)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a1522b55496fac7640ea54b6623d1072f">com.spider.jspiderlibrary2.Spider.Spider</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a>&#160;</td>
          <td class="paramname"><em>report</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">report</td><td>Es para aquella clase que implemente la interface <a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a>, y dicha clase va a recibir la informacion que el spider encuentre </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00070">70</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00055">com.spider.jspiderlibrary2.Spider.report</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6c7061bb6b58bdbe6be1a162cf470c85"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::addURL" ref="a6c7061bb6b58bdbe6be1a162cf470c85" args="(URL url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a6c7061bb6b58bdbe6be1a162cf470c85">com.spider.jspiderlibrary2.Spider.addURL</a> </td>
          <td>(</td>
          <td class="paramtype">URL&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Añado una URL a procesar.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00122">122</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00079">com.spider.jspiderlibrary2.Spider.getWorkloadError()</a>, <a class="el" href="_spider_8java_source.html#l00095">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed()</a>, <a class="el" href="_spider_8java_source.html#l00087">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting()</a>, and <a class="el" href="_spider_8java_source.html#l00419">com.spider.jspiderlibrary2.Spider.log()</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00397">com.spider.jspiderlibrary2.Spider.Parser.handleLink()</a>, and <a class="el" href="_communicator_8java_source.html#l00054">com.spider.jspiderlibrary2.Communicator.initSpider()</a>.</p>

</div>
</div>
<a class="anchor" id="af82be12bad4bc1e88f494645106ac7e0"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::begin" ref="af82be12bad4bc1e88f494645106ac7e0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#af82be12bad4bc1e88f494645106ac7e0">com.spider.jspiderlibrary2.Spider.begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metodo que lanza el spider </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00234">234</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00113">com.spider.jspiderlibrary2.Spider.cancel()</a>, <a class="el" href="_spider_8java_source.html#l00095">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed()</a>, <a class="el" href="_spider_8java_source.html#l00087">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting()</a>, and <a class="el" href="_spider_8java_source.html#l00178">com.spider.jspiderlibrary2.Spider.processURL()</a>.</p>

<p>Referenced by <a class="el" href="_communicator_8java_source.html#l00054">com.spider.jspiderlibrary2.Communicator.initSpider()</a>.</p>

</div>
</div>
<a class="anchor" id="a9053f35d953c1311c1c98710561b49e4"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::cancel" ref="a9053f35d953c1311c1c98710561b49e4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a2dbab52498bf5a06ce0344116aed3b3b">com.spider.jspiderlibrary2.Spider.cancel</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setea la flag que genera que el metodo begin retorne al ser terminado. </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00113">113</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00234">com.spider.jspiderlibrary2.Spider.begin()</a>.</p>

</div>
</div>
<a class="anchor" id="ae38b2465861c53a4dac6920a32daa2a2"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::clear" ref="ae38b2465861c53a4dac6920a32daa2a2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ae38b2465861c53a4dac6920a32daa2a2">com.spider.jspiderlibrary2.Spider.clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Borra todas las colecciones. </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00102">102</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00227">com.spider.jspiderlibrary2.Spider.clearHashMapPages()</a>, <a class="el" href="_spider_8java_source.html#l00079">com.spider.jspiderlibrary2.Spider.getWorkloadError()</a>, <a class="el" href="_spider_8java_source.html#l00095">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed()</a>, and <a class="el" href="_spider_8java_source.html#l00087">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting()</a>.</p>

<p>Referenced by <a class="el" href="_communicator_8java_source.html#l00054">com.spider.jspiderlibrary2.Communicator.initSpider()</a>.</p>

</div>
</div>
<a class="anchor" id="a472cd53008e1a952f2d8dcfe06f6e744"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::clearHashMapPages" ref="a472cd53008e1a952f2d8dcfe06f6e744" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a472cd53008e1a952f2d8dcfe06f6e744">com.spider.jspiderlibrary2.Spider.clearHashMapPages</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00227">227</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00102">com.spider.jspiderlibrary2.Spider.clear()</a>.</p>

</div>
</div>
<a class="anchor" id="adbf2d01cc0ea713a8c4a8ea9c1cbaf56"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::getHashMapPages" ref="adbf2d01cc0ea713a8c4a8ea9c1cbaf56" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HashMap <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#adbf2d01cc0ea713a8c4a8ea9c1cbaf56">com.spider.jspiderlibrary2.Spider.getHashMapPages</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00222">222</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

</div>
</div>
<a class="anchor" id="aa2331130fc2e5be2a54b120da24bc348"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::getWorkloadError" ref="aa2331130fc2e5be2a54b120da24bc348" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Collection <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aa2331130fc2e5be2a54b120da24bc348">com.spider.jspiderlibrary2.Spider.getWorkloadError</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Trae la coleccion de URL con errores.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>una colleccion de URLs. </dd></dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00079">79</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00029">com.spider.jspiderlibrary2.Spider.workloadError</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00122">com.spider.jspiderlibrary2.Spider.addURL()</a>, <a class="el" href="_spider_8java_source.html#l00102">com.spider.jspiderlibrary2.Spider.clear()</a>, and <a class="el" href="_spider_8java_source.html#l00178">com.spider.jspiderlibrary2.Spider.processURL()</a>.</p>

</div>
</div>
<a class="anchor" id="a6dca4a5d46dcdf9b97bc9cb799ba2c9c"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::getWorkloadProcessed" ref="a6dca4a5d46dcdf9b97bc9cb799ba2c9c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Collection <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a6dca4a5d46dcdf9b97bc9cb799ba2c9c">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Traen las URLS que estan ya procesadas </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>una colleccion de URLs. </dd></dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00095">95</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00035">com.spider.jspiderlibrary2.Spider.workloadProcessed</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00122">com.spider.jspiderlibrary2.Spider.addURL()</a>, <a class="el" href="_spider_8java_source.html#l00234">com.spider.jspiderlibrary2.Spider.begin()</a>, <a class="el" href="_spider_8java_source.html#l00102">com.spider.jspiderlibrary2.Spider.clear()</a>, and <a class="el" href="_spider_8java_source.html#l00178">com.spider.jspiderlibrary2.Spider.processURL()</a>.</p>

</div>
</div>
<a class="anchor" id="a77c4d59ea95fc8c7661b87bbf5da4f86"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::getWorkloadWaiting" ref="a77c4d59ea95fc8c7661b87bbf5da4f86" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Collection <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a77c4d59ea95fc8c7661b87bbf5da4f86">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Traen las URLS que estan esperando a ser procesadas </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>una colleccion de URLs. </dd></dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00087">87</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_spider_8java_source.html#l00034">com.spider.jspiderlibrary2.Spider.workloadWaiting</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00122">com.spider.jspiderlibrary2.Spider.addURL()</a>, <a class="el" href="_spider_8java_source.html#l00234">com.spider.jspiderlibrary2.Spider.begin()</a>, <a class="el" href="_spider_8java_source.html#l00102">com.spider.jspiderlibrary2.Spider.clear()</a>, and <a class="el" href="_spider_8java_source.html#l00178">com.spider.jspiderlibrary2.Spider.processURL()</a>.</p>

</div>
</div>
<a class="anchor" id="a953b39d3048cc57e3b5a6050a52931fa"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::log" ref="a953b39d3048cc57e3b5a6050a52931fa" args="(String entry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a953b39d3048cc57e3b5a6050a52931fa">com.spider.jspiderlibrary2.Spider.log</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called internally to log information This basic method just writes the log out to the stdout. Emplea un log para controlar lo que va realizando el parser </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">entry</td><td>The information to be written to the log. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00419">419</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00122">com.spider.jspiderlibrary2.Spider.addURL()</a>, and <a class="el" href="_spider_8java_source.html#l00397">com.spider.jspiderlibrary2.Spider.Parser.handleLink()</a>.</p>

</div>
</div>
<a class="anchor" id="aff157f7c46f1ba056dac08797299e0f5"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::processURL" ref="aff157f7c46f1ba056dac08797299e0f5" args="(URL url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aff157f7c46f1ba056dac08797299e0f5">com.spider.jspiderlibrary2.Spider.processURL</a> </td>
          <td>(</td>
          <td class="paramtype">URL&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Procesa una URL </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>la url que va a ser procesada </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00178">178</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>References <a class="el" href="_h_t_m_l_parse_8java_source.html#l00015">com.spider.jspiderlibrary2.HTMLParse.getParser()</a>, <a class="el" href="_spider_8java_source.html#l00079">com.spider.jspiderlibrary2.Spider.getWorkloadError()</a>, <a class="el" href="_spider_8java_source.html#l00095">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed()</a>, <a class="el" href="_spider_8java_source.html#l00087">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting()</a>, <a class="el" href="_spider_8java_source.html#l00055">com.spider.jspiderlibrary2.Spider.report</a>, <a class="el" href="_robots_parser_8java_source.html#l00025">com.spider.jspiderlibrary2.RobotsParser.robotSafe()</a>, <a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html#a73e089019826aba4f610eaa4974e6ad8">com.spider.jspiderlibrary2.ISpiderReportable.spiderFoundURLError()</a>, and <a class="el" href="_communicator_8java_source.html#l00026">com.spider.jspiderlibrary2.Communicator.totalLinks</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00234">com.spider.jspiderlibrary2.Spider.begin()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a2dbab52498bf5a06ce0344116aed3b3b"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::cancel" ref="a2dbab52498bf5a06ce0344116aed3b3b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a2dbab52498bf5a06ce0344116aed3b3b">com.spider.jspiderlibrary2.Spider.cancel</a> = false<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flags que indican cuando el proceso del crawler debe ser cancelado </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00060">60</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

</div>
</div>
<a class="anchor" id="a234dbec15186b1bc7750700697ef233b"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::report" ref="a234dbec15186b1bc7750700697ef233b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interfacecom_1_1spider_1_1jspiderlibrary2_1_1_i_spider_reportable.html">ISpiderReportable</a> <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a234dbec15186b1bc7750700697ef233b">com.spider.jspiderlibrary2.Spider.report</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Un hash map que añade URL que estan ya procesadas con su texto La key es la url y el value es el string builder con todo el texto Una Coleccion de URLs que no seran usadas porque no emplean texto significativo </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00055">55</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00397">com.spider.jspiderlibrary2.Spider.Parser.handleLink()</a>, <a class="el" href="_spider_8java_source.html#l00178">com.spider.jspiderlibrary2.Spider.processURL()</a>, and <a class="el" href="_spider_8java_source.html#l00070">com.spider.jspiderlibrary2.Spider.Spider()</a>.</p>

</div>
</div>
<a class="anchor" id="aa28c7efd1d89fd2b553833f289946477"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::workloadError" ref="aa28c7efd1d89fd2b553833f289946477" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#aa28c7efd1d89fd2b553833f289946477">com.spider.jspiderlibrary2.Spider.workloadError</a> = new ArrayList(3)<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Una Coleccion de URLs que resultan erroneas </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00029">29</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00079">com.spider.jspiderlibrary2.Spider.getWorkloadError()</a>, and <a class="el" href="_communicator_8java_source.html#l00034">com.spider.jspiderlibrary2.Communicator.run()</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e3dbf06a7d4a976fadc85df5fcf81e"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::workloadProcessed" ref="ad9e3dbf06a7d4a976fadc85df5fcf81e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#ad9e3dbf06a7d4a976fadc85df5fcf81e">com.spider.jspiderlibrary2.Spider.workloadProcessed</a> = new ArrayList(3)<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00035">35</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00095">com.spider.jspiderlibrary2.Spider.getWorkloadProcessed()</a>, and <a class="el" href="_communicator_8java_source.html#l00034">com.spider.jspiderlibrary2.Communicator.run()</a>.</p>

</div>
</div>
<a class="anchor" id="a7ab086f00e291c450e31bac92b3b1f3a"></a><!-- doxytag: member="com::spider::jspiderlibrary2::Spider::workloadWaiting" ref="a7ab086f00e291c450e31bac92b3b1f3a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList <a class="el" href="classcom_1_1spider_1_1jspiderlibrary2_1_1_spider.html#a7ab086f00e291c450e31bac92b3b1f3a">com.spider.jspiderlibrary2.Spider.workloadWaiting</a> = new ArrayList(3)<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Una Coleccion de URLs que estan esperando para ser procesadas Cada URL añadida sirve para iniciar el crawleo del sitio </p>

<p>Definition at line <a class="el" href="_spider_8java_source.html#l00034">34</a> of file <a class="el" href="_spider_8java_source.html">Spider.java</a>.</p>

<p>Referenced by <a class="el" href="_spider_8java_source.html#l00087">com.spider.jspiderlibrary2.Spider.getWorkloadWaiting()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/java/com/spider/jspiderlibrary2/<a class="el" href="_spider_8java_source.html">Spider.java</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Feb 16 2012 02:56:14 for JSpider Library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
